import VueRouter from 'vue-router'
import Vue from 'vue'
import Home from '@/views/Home.vue'
import Class from '@/views/Class.vue'
import My from '@/views/My.vue'
import Order from '@/views/Order.vue'


Vue.use(VueRouter)
const router = new VueRouter({
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/home',
      component: Home
    },
    {
      path: '/class',
      component: Class
    },
    {
      path: '/my',
      component: My
    },
    {
      path: '/order',
      component: Order
    },
  ]
})

export default router